import { legacy_createStore as createStore,combineReducers} from 'redux'
import homeReducer from './models/homeList'
// const reducer=(state={},action)=>{
//     const {type,payload}=action

//     return state
// }
const reducer=combineReducers({
    homeList:homeReducer
})

const store= createStore(reducer)

export default store